<template>
	<view class="loading-tip-part" :class="isFixed ? 'fixed-loading' : ''" style="padding-top: 50%">
		<wd-status-tip :image="loadingImg" tip="加载中" />
	</view>
</template>
<script setup>
import loadingImg from "@/static/images/loading.webp"
const props = defineProps({
  isFixed: {
    type: Boolean,
    default: false
  }
})
</script>
<style lang="scss">
.fixed-loading{
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background: rgba(0,0,0,0.3);
  z-index: 99;
}
.loading-tip-part .wd-status-tip__image {
  // background-color: red;
  width: auto; 
  height: auto; 
  .wd-img__image{
	  width: 70rpx;
	  height:70rpx;
  }
}
</style>
